<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        html, body {
            padding: 0;
            text-align: center;
        }
        .header, .footer {
            width: 100%;
            height: 50px;
            line-height: 50px;
            background: #ccc
        }
        .cont {
            width: 100%;
            overflow: hidden;
            clear: both;
        }
        .cont p {
            padding: 10px 0;
            clear: both;
        }
    </style>
</head>
<body>

</body>

</html>